package cn.jsprun.filter;

import java.io.IOException;

import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

import org.apache.struts.action.ActionServlet;

import cn.jsprun.application.Application;
import cn.jsprun.service.ForumService;
import cn.jsprun.utils.BeanFactory;


public class MyDispatcherFilter extends ActionServlet  {
	public void init() throws ServletException {
		super.init();
		Application applicationService = (Application) BeanFactory.getBean("applicationService");
		applicationService.init();
		System.out.println("zhl tttttttttttt");
	}
}
